package com.thomasmoerman.dci3.pbc

import org.springframework.beans.factory._
import com.thomasmoerman.dci3.frw._
import com.thomasmoerman.dci3.tmc._
import com.thomasmoerman.dci3.pbc._

class PayBillsContextFactoryBean 
  extends FactoryBean[PayBillsContext] 
     with PayBillsContextFactory
	 with TransactionalDebtorProvider
	 with PayBillsQueries
	 with TransferMoneyContextFactory
     with TransactionalMoneySourceProvider
     with CalculatedBalanceAspect
     with HibernateSessionProvider
     with TransactionalMoneySinkProvider
     with TransactionalWithSpring
     with InjectedTransactionManager {
  
  def isSingleton = false
  
  def getObjectType = classOf[PayBillsContext]
  
  def getObject = newPayBillsContext
  
}